package com.rk.kbk.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rk.kbk.common.DateJsonDeserializer;
import com.rk.kbk.common.DateJsonSerializer;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import javax.persistence.*;

/**
 * @InsuranceSetting
 * @(insurance_setting)
 * @version : Ver 1.0
 */
@Entity
public class InsuranceSetting implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:
	 * @字段:id BIGINT(19)
	 */
	@Id
	@GeneratedValue(strategy= GenerationType.IDENTITY)
	@GenericGenerator(name="auto-identity",strategy="identity")
	@Column(updatable = false, columnDefinition="BIGINT(19) COMMENT ''")
	private Long id;

	/**
	 * @备注:金额
	 * @字段:money DOUBLE(255)
	 */
	@Column(columnDefinition="DOUBLE(255) COMMENT '金额'")
	private Double money;

	/**
	 * @备注:扣费时间
	 * @字段:time VARCHAR(255)
	 */
	@Column(columnDefinition="VARCHAR(255) COMMENT '扣费时间'")
	private String time;

	public InsuranceSetting(){
	}

	public InsuranceSetting(
		Long id
	){
		this.id = id;
	}



	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return this.id;
	}


	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getMoney() {
		return this.money;
	}


	public void setTime(String time) {
		this.time = time;
	}

	public String getTime() {
		return this.time;
	}
}
